package com.mysoft.gfyx.marketdevelop.remoteService;

import com.mysoft.framework.rpc.annotation.RemoteAction;
import com.mysoft.framework.rpc.annotation.RemoteService;
import com.mysoft.gfyx.marketdevelop.remoteService.dto.CheckProfitRequestDto;
import com.mysoft.gfyx.marketdevelop.remoteService.dto.GetProfitProvinceDataDto;
import com.mysoft.gfyx.marketdevelop.remoteService.dto.GetProfitsResponse;


@RemoteService(appCode = "4022", businessCode = "40220903", path = "/profitPub")
public interface RemoteProfitProvinceService {
    /**
     * NationWide 全国
     * Province 省份
     */
    enum ProvinceNumType {
        NationWide, Province,
    }

    @RemoteAction("/getProfitProvince")
    GetProfitProvinceDataDto getProfitProvince();

    @RemoteAction("/checkProfitEffectByCode")
    boolean checkProfitEffectByCode(CheckProfitRequestDto dto);

    @RemoteAction("/getProfits")
    GetProfitsResponse getProfits();
}
